//
//  WeaponSprite.m
//  voyage
//
//  Created by Stéphane BONIFFACY on 29/01/13.
//  Copyright (c) 2013 Steph. All rights reserved.
//

#import "WeaponSprite.h"
#import "CCTexture2D.h"

@implementation WeaponSprite




#pragma name WeaponSpriteProtocol

-(CCSprite*)getPictureMenu {
    return [CCSprite spriteWithTexture:[[CCTexture2D alloc] init]];
}

-(CCSprite*)getPictureWithAmmo {
    return [CCSprite spriteWithTexture:[[CCTexture2D alloc] init]];

}

-(CCSprite*)getPictureSelectedWithAmmo {
    return [CCSprite spriteWithTexture:[[CCTexture2D alloc] init]];
}

-(int)getLevel{
    return _level;
}

-(int)getAmmo{
    return _ammo;
}


-(NSDictionary*)getResumeInfo{
    return [NSDictionary dictionary];
}

-(void)fire{
    if(_ammo > 0 || _ammo < -1){
     
        if(_ammo > 0) _ammo -=1;
    }
}

@end
